package com.dgut.service.impl;

import com.dgut.dao.IAccountDao;
import com.dgut.dao.impl.AccountDaoImpl;
import com.dgut.domain.Account;
import com.dgut.service.IAccountService;

import java.util.List;

public class AccountServiceImpl implements IAccountService {

    IAccountDao dao;

    public void setDao(IAccountDao dao) {
        this.dao = dao;
    }

    public AccountServiceImpl() {

    }

    public List<Account> findAll() {

        return dao.findAll();
    }


}
